package cn.gson.fengboot.model.mapper;

import cn.gson.fengboot.model.pojos.Zorder;
import cn.gson.fengboot.model.pojos.Zreturnedgood;
import cn.gson.fengboot.model.pojos.Zreturnedgooddetail;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ZreturnedgoodMapper {
    //退货弹出框
    List<Zreturnedgood> ddlist(@Param("search") String search, @Param("search2") String search2);
    //退货单列表
    List<Zreturnedgood> ddlist2(@Param("search") String search, @Param("search2") String search2);
    //订单退货单
    List<Zreturnedgood> ddthd(@Param("search") String search);
    //退货单详情产品查询
    List<Zreturnedgooddetail> kaipiao2(@Param("search") String search);

    //退货单弹框
    List<Zreturnedgood> thtk(@Param("search") String search, @Param("search2") String search2);

    //<!--谭方圆=>跳退货查询详情-->
    List<Zreturnedgood> tuihuolists(@Param("id") Integer id);

    //<!--谭方圆=>客户合并查询退货-->
    List<Zreturnedgood> tfytuihuolists(@Param("id1") Integer id1, @Param("id2") Integer id2);
}
